package com.framework.plm.sch.vo;

import java.io.Serializable;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.framework.plm.dbs.vo.BaseObject;

public class HpSchTaskVO extends BaseObject {
	private static final long serialVersionUID = 1L;
	/** identifier field */
    private String taskCode;
    
    /** identifier field */
    private String taskName;
    
    /** identifier field */
    private String groupCode;
    
    /** identifier field */
    private String groupName;
    
    /** identifier field */
    private String taskType;
    
    /** identifier field */
    private String startupMode;
    
    /** identifier field */
    private String execMode;
    
    /** identifier field */
    private String execClass;
    
    /** identifier field */
    private String canExec;
	
    /** identifier field */
    private String firstDelay;
    
    /** identifier field */
    private String startDate;
    
    /** identifier field */
    private String startTime;
    
    /** identifier field */
    private String endDate;
    
    /** identifier field */
    private String endTime;
    
    /** identifier field */
    private String repeatTimes;
    
    /** identifier field */
    private String repeatInterval;
    
    /** identifier field */
    private String termExpress;
    
    /** identifier field */
    private String usedFlag;
    
    /** identifier field */
    private String isDataLog;

	public String getTaskCode() {
		return taskCode;
	}

	public void setTaskCode(String taskCode) {
		this.taskCode = taskCode;
	}

	public String getTaskName() {
		return taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	public String getGroupCode() {
		return groupCode;
	}

	public void setGroupCode(String groupCode) {
		this.groupCode = groupCode;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getTaskType() {
		return taskType;
	}

	public void setTaskType(String taskType) {
		this.taskType = taskType;
	}

	public String getStartupMode() {
		return startupMode;
	}

	public void setStartupMode(String startupMode) {
		this.startupMode = startupMode;
	}

	public String getExecMode() {
		return execMode;
	}

	public void setExecMode(String execMode) {
		this.execMode = execMode;
	}

	public String getExecClass() {
		return execClass;
	}

	public void setExecClass(String execClass) {
		this.execClass = execClass;
	}

	public String getCanExec() {
		return canExec;
	}

	public void setCanExec(String canExec) {
		this.canExec = canExec;
	}

	public String getFirstDelay() {
		return firstDelay;
	}

	public void setFirstDelay(String firstDelay) {
		this.firstDelay = firstDelay;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getRepeatTimes() {
		return repeatTimes;
	}

	public void setRepeatTimes(String repeatTimes) {
		this.repeatTimes = repeatTimes;
	}

	public String getRepeatInterval() {
		return repeatInterval;
	}

	public void setRepeatInterval(String repeatInterval) {
		this.repeatInterval = repeatInterval;
	}

	public String getTermExpress() {
		return termExpress;
	}

	public void setTermExpress(String termExpress) {
		this.termExpress = termExpress;
	}

	public String getUsedFlag() {
		return usedFlag;
	}

	public void setUsedFlag(String usedFlag) {
		this.usedFlag = usedFlag;
	}

	public String getIsDataLog() {
		return isDataLog;
	}

	public void setIsDataLog(String isDataLog) {
		this.isDataLog = isDataLog;
	}

	public HpSchTaskVO(String taskCode, String taskName, String groupCode,
			String groupName, String taskType, String startupMode,
			String execMode, String execClass, String canExec,
			String firstDelay, String startDate, String startTime,
			String endDate, String endTime, String repeatTimes,
			String repeatInterval, String termExpress, String usedFlag,
			String isDataLog) {
		super();
		this.taskCode = taskCode;
		this.taskName = taskName;
		this.groupCode = groupCode;
		this.groupName = groupName;
		this.taskType = taskType;
		this.startupMode = startupMode;
		this.execMode = execMode;
		this.execClass = execClass;
		this.canExec = canExec;
		this.firstDelay = firstDelay;
		this.startDate = startDate;
		this.startTime = startTime;
		this.endDate = endDate;
		this.endTime = endTime;
		this.repeatTimes = repeatTimes;
		this.repeatInterval = repeatInterval;
		this.termExpress = termExpress;
		this.usedFlag = usedFlag;
		this.isDataLog = isDataLog;
	}

	public HpSchTaskVO() {
	}

	public HpSchTaskVO(String taskCode) {
		this.taskCode = taskCode;
	}
	
	public String toString() {
        return new ToStringBuilder(this)
            .append("taskCode", this.getTaskCode())
            .toString();
    }

    public boolean equals(Object other) {
        if ( (this == other ) ) return true;
        if ( !(other instanceof HpSchTaskVO) ) return false;
        HpSchTaskVO castOther = (HpSchTaskVO) other;
        return new EqualsBuilder()
            .append(this.getTaskCode(), castOther.getTaskCode())
            .isEquals();
    }

    public int hashCode() {
        return new HashCodeBuilder()
            .append(getTaskCode())
            .toHashCode();
    }

	@Override
	public Serializable getId() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String getSequenceName() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void setId(String id) {
		// TODO Auto-generated method stub
		
	}
}
